﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>路口管理系统---登录</title>
    <link href="<%=Url.Content("~/Style/Manage/admin.css")%>" rel="stylesheet" type="text/css" />
    <link href="<%=Url.Content("~/Style/Manage/login.css")%>" rel="stylesheet" type="text/css" />
    <script src="<%=Url.Content("~/Scripts/jquery-1.4.1.js") %>" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#UserName").focus();
            $("#login_btn").click(function () { $("form:first").submit(); });
        });
    </script>
</head>
<body>
    <div id="enter">
        <h1><img alt="商城后台" src="<%=Url.Content("~/Style/Manage/images/enter_logo.gif")%>" /></h1>
        <table>
            <%using (Html.BeginForm()){%>
            <tr>
                <td>用户名:</td>
                <td colspan="3"><%= Html.TextBox("UserName") %></td>
            </tr>
            <tr>
                <td><label for="PassWord">密　码：</label></td>
                <td class="width160"><%= Html.Password("PassWord") %></td>
                <td colspan="2" class="red"><%= TempData["Error"] %></td>
            </tr>
            <tr>
                <th></th>
                <th colspan="4"><input class="btnEnter" type="button" id="login_btn" /></th>
            </tr>
            <% } %>
        </table>
    </div>
</body>
</html>